package com.zhiyou100.vo;

import java.util.ArrayList;

public class PageVo<T> {
	// 页码
		private Integer pageIndex;
		
		// 容量
		private Integer pageSize;
		
		// 总页数
		private Integer pageCount;
		
		// 数据总条数
		private Integer dataCount;
		
		// 数据列表
		private ArrayList<T> list;

		public PageVo() {
			super();
		}

		public PageVo(Integer pageIndex, Integer pageSize, Integer pageCount, Integer dataCount, ArrayList<T> list) {
			super();
			this.pageIndex = pageIndex;
			this.pageSize = pageSize;
			this.pageCount = pageCount;
			this.dataCount = dataCount;
			this.list = list;
		}

		public Integer getPageIndex() {
			return pageIndex;
		}

		public void setPageIndex(Integer pageIndex) {
			this.pageIndex = pageIndex;
		}

		public Integer getPageSize() {
			return pageSize;
		}

		public void setPageSize(Integer pageSize) {
			this.pageSize = pageSize;
		}

		public Integer getPageCount() {
			return pageCount;
		}

		public void setPageCount(Integer pageCount) {
			this.pageCount = pageCount;
		}

		public Integer getDataCount() {
			return dataCount;
		}

		public void setDataCount(Integer dataCount) {
			this.dataCount = dataCount;
		}

		public ArrayList<T> getList() {
			return list;
		}

		public void setList(ArrayList<T> list) {
			this.list = list;
		}
		
		

}
